/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nuce.entity;

import dataaccess.DataAccess;

/**
 *
 * @author LINHNC
 */
public class Question {

    private int Id;
    private String content;
    private String answer1;
    private String answer2;
    private String answer3;
    private String answer4;
    private int level;
    public Question(){
        this.Id = 0; this.content= null;
        this.answer1 = null; this.answer2 = null; this.answer3 = null; this.answer4 = null;
        this.level =1;
    }
    public Question(int Id, String content, String answer1, String answer2, String answer3, String answer4, int level) {
        this.Id = Id;
        this.content = content;
        this.answer1 = answer1;
        this.answer2 = answer2;
        this.answer3 = answer3;
        this.answer4 = answer4;
        this.level = level;
    }

    public int getId() {
        return Id;
    }

    public void setId(int Id) {
        this.Id = Id;
    }

    public String getAnswer1() {
        return answer1;
    }

    public void setAnswer1(String answer1) {
        this.answer1 = answer1;
    }

    public String getAnswer2() {
        return answer2;
    }

    public void setAnswer2(String answer2) {
        this.answer2 = answer2;
    }

    public String getAnswer3() {
        return answer3;
    }

    public void setAnswer3(String answer3) {
        this.answer3 = answer3;
    }

    public String getAnswer4() {
        return answer4;
    }

    public void setAnswer4(String answer4) {
        this.answer4 = answer4;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

}
